package com.tkjt.pms.modules.common.page;

import java.util.HashMap;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

public class PmsWeightPage<T> extends Page<T> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5501504517769267904L;

	public PmsWeightPage(Page<T> page) {
		this.setRecords(page.getRecords());
		this.setTotal(page.getTotal());
		this.setSize(page.getSize());
		this.setCurrent(page.getCurrent());
		this.setOrders(page.getOrders());
		this.setOptimizeCountSql(page.optimizeCountSql());
		this.setSearchCount(page.isSearchCount());
	}

	private Map<String, Object> weightTotal = new HashMap<String, Object>();

	public Map<String, Object> getWeightTotal() {
		return weightTotal;
	}

	public void setWeightTotal(Map<String, Object> weightTotal) {
		this.weightTotal = weightTotal;
	}

}
